#pragma once
#include "EpilStatementCodeBase.h"
#include "EpilSyntaxParserBase.h"


class EpilStatementParser : public EpilSyntaxParserBase
{
public:
	EpilStatementParser( EpilTokenStream & tokens );

	bool								IsLastStatement() const							{ return m_isLastStatement; }
	EpilStatementCodeBase *				GetStatementCode() const						{ return m_statement; }
	virtual void						Parse();

private:
	bool								m_isLastStatement;
	EpilStatementCodeBase *				m_statement;
};
